import axios from 'axios'

/**
 * 获取疫情数据
 */
export const getMapData = () => {
  return axios.get('/tencent/g2/getOnsInfo?name=disease_h5')
    .then(res => {
      return JSON.parse(res.data.data)
    })
}
